﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>档案页面</title>
    <link href="Content/ligerUI/ligerUI/skins/Aqua/css/ligerui-all.css" rel="stylesheet" type="text/css" /> 
    <script src="Content/ligerUI/jquery/jquery-1.5.2.min.js" type="text/javascript"></script>    
    <script src="Content/ligerUI/ligerUI/js/ligerui.min.js" type="text/javascript"></script> 
        <script type="text/javascript">
            var tab = null;
            var accordion = null;
            var tree = null;

var data_projecttype =
[
        { isexpand: "true", text: "项目建议书", url: "project.aspx",children: [
        { isexpand: "true", text: "可研报告", children: [
		    { url: "keyan1.aspx", text: "可研报告1" },
            { url: "keyan2.aspx", text: "可研报告2" }
	    ]
        },
        { isexpand: "true", text: "项目概算", children: [
		    { url: "gaisuan1.aspx", text: "项目概算1" },
            { url: "gaisuan2.aspx", text: "项目概算2" }
	    ]
        }
    ]
    }
];

            $(function ()
            {
                //布局
                $("#layout1").ligerLayout({ leftWidth: 190, height: '100%',heightDiff:-5,space:4,allowLeftCollapse:false, onHeightChanged: f_heightChanged });

                var height = $(".l-layout-center").height();

                //Tab
                $("#framecenter").ligerTab({ height: height ,
					//onBeforeSelectTabItem: function (tabid){}, 
					onAfterSelectTabItem: function (tabid){}//f_loadTabUrl(this,tabid);}//选中tab后触发事件
				});

                //面板
                $("#accordion1").ligerAccordion({ height: height - 24, speed: null });

                $(".l-link").hover(function ()
                {
                    $(this).addClass("l-link-over");
                }, function ()
                {
                    $(this).removeClass("l-link-over");
                });
                //树
                $("#tree_projecttype").ligerTree({
                    data : data_projecttype,
                    checkbox: false,
                    slide: false,
                    nodeWidth: 120,
                    attribute: ['nodename', 'url'],
                    onSelect: function (node)
                    {
                        if (!node.data.url) return;
                        var tabid = $(node.target).attr("tabid");
                        if (!tabid)
                        {
                            tabid = new Date().getTime();
                            $(node.target).attr("tabid", tabid)
                        } 
                        //f_addTab(tabid, node.data.text, node.data.url);
						//把上面行去掉，改成刷新
						tab.reload(tab.getSelectedTabItemID());
                    }
                });

                tree = $("#tree_projecttype").ligerGetTreeManager();

                tab = $("#framecenter").ligerGetTabManager();
				 
                accordion = $("#accordion1").ligerGetAccordionManager();
				
				f_addTab("xiangmujieshao", "项目简介", 'xiangmujieshao.htm');
				f_addTab("shengbao", "申报资料", 'shenbaoziliao.htm');
				f_addTab("pingshenyijian", "评审意见", 'filelist.htm');
				f_addTab("pifuwenjian", "批复文件", 'filelist.htm');
				f_addTab("jihuaxiada", "计划下达", 'jihuaxiada.htm');
				f_addTab("xiangmuyuebao", "项目月报", 'xiangmuyuebao.htm');
				f_addTab("lindaopishi", "领导批示", 'filelist.htm');
				f_addTab("huiyijiyao", "会议纪要", 'filelist.htm');
				f_addTab("xiangguanzhengce", "相关政策", 'filelist.htm');
				f_addTab("guihua", "规划", 'filelist.htm');
				f_addTab("jianshebiaozhun", "建设标准", 'filelist.htm');
                $("#pageloading").hide();
            });
            function f_heightChanged(options)
            {
                if (tab)
                    tab.addHeight(options.diff);
                if (accordion && options.middleHeight - 24 > 0)
                    accordion.setHeight(options.middleHeight - 24);
            }
            function f_addTab(tabid,text, url)
            { 
                tab.addTabItem({ tabid : tabid,text: text, url: url,showClose:false });
            }
             //动态加载Tab内容
            function f_loadTabUrl(obj,tabid)
            {
            } 
            
     </script> 
<style type="text/css"> 
    body,html{height:100%;}
    body{ margin:0;padding:0;background:url(Content/ligerUI/images/bg.jpg) repeat-x #fff;overflow:hidden;font-size:14px;}  
}    .l-link{ display:block; height:26px; line-height:26px; padding-left:10px; text-decoration:underline; color:#333;}
    .l-link2{text-decoration:underline; color:white; margin-left:2px;margin-right:2px;}
    .l-layout-top{background:#102A49; color:White;}
    .l-layout-bottom{ background:#E5EDEF; text-align:center;}
    #pageloading{position:absolute; left:0px; top:0px; background:white url('loading.gif') no-repeat center; width:100%; height:100%;z-index:99999;}
    .l-link{ display:block; line-height:22px; height:22px; padding-left:16px;border:1px solid white; margin:4px;}
    .l-link-over{ background:#FFEEAC; border:1px solid #DB9F00;} 
    .l-winbar{ background:#2B5A76; height:30px; position:absolute; left:0px; bottom:0px; width:100%; z-index:99999;}
    .space{ color:#E7E7E7;}
    /* 顶部 */ 
    .l-topmenu{ margin:0; padding:0; height:31px; line-height:31px; position:relative; border-top:1px solid #1D438B;  }
    .l-topmenu-logo{ overflow:hidden; color:#ffffff; padding-left:35px; line-height:26px;margin-top:2px;font-family:微软雅黑;font-size:14px;font-weight:normal;font-style:normal;text-decoration:none;}
    .l-topmenu-welcome{  position:absolute; height:24px; line-height:24px;  right:30px; top:2px;color:#070A0C;}
    .l-topmenu-welcome a{ color:#E7E7E7; text-decoration:underline} 

 </style>
</head>
<body>  
<div id="pageloading"></div>  
<div id="topmenu" class="l-topmenu">
    <div class="l-topmenu-logo">项目代码：Z20120200001 &nbsp;&nbsp;&nbsp;&nbsp; 项目名称：深圳市腾讯云计算中心 &nbsp;&nbsp;&nbsp;&nbsp;建设单位：深圳市腾讯公司</div>
    <div class="l-topmenu-welcome">
    </div> 
</div>
  <div id="layout1" style="width:100%; margin:0 auto; margin-top:10px;margin-left:5px;margin-right:5px; "> 
        <div position="left"  title="全部" id="accordion1"> 
				 <ul id="tree_projecttype" style="margin-top:3px;">
        </div>
        <div position="center" id="framecenter"> 
            <!--<div tabid="shengbao" lselected="true" title="申报资料" style="height:300px" >
				<iframe frameborder="0" name="showmessage" src="welcome.htm"></iframe>
            </div> 
            <div tabid="pingshenyijian" title="评审意见" style="height:300px" >
            </div> 
            <div tabid="pifuwenjian" title="批复文件" style="height:300px" >
            </div> 
            <div tabid="jihuaxiada" title="计划下达" style="height:300px" >
            </div> 
            <div tabid="xiangmuyuebao" title="项目月报" style="height:300px" >
            </div> 
            <div tabid="lindaopishi" title="领导批示" style="height:300px" >
            </div> 
            <div tabid="huiyijiyao" title="会议纪要" style="height:300px" >
            </div> 
            <div tabid="xiangguanzhengce" title="相关政策" style="height:300px" >
            </div> 
            <div tabid="guihua" title="规划" style="height:300px" >
            </div> 
            <div tabid="jianshebiaozhun" title="建设标准" style="height:300px" >
            </div> 
			-->
        </div> 
        
    </div>
    <div style="display:none"></div>
</body>
</html>
